package com.jp.vn.main;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

public class SplashScreen extends Activity {
	
	private static int Splash_Screen_Time = 5000;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.splash_screen);

		new Handler().postDelayed(new Runnable() {
			
			@Override
			public void run() {
				Intent home = new Intent(getApplicationContext(),MainActivity.class);
				startActivity(home);
				overridePendingTransition(R.anim.right_in, R.anim.left_out);
				finish();
			}
		},Splash_Screen_Time);
	}
}
